<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"/>
	<title>活动添加</title>
	<meta name="renderer" content="webkit"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="format-detection" content="telephone=no"/>
	<link rel="stylesheet" href="../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../css/font_eolqem241z66flxr.css" media="all" />
</head>
<body class="childrenBody">
	<form class="layui-form">
		<div class="layui-form-item">
			<label class="layui-form-label">活动标题</label>
			<div class="layui-input-block">
				<input type="hidden" id="id" />
				<input type="text" class="layui-input newsName" lay-verify="required" placeholder="请输入文章标题"/>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">自定义属性</label>
				<div class="layui-input-block">
					<input type="checkbox" name="tuijian" class="tuijian" title="推荐"/>
					<input type="checkbox" name="show" class="isShow" title="展示"/>
				</div>
			</div>
			<div class="layui-inline">		
				<label class="layui-form-label">活动作者</label>
				<div class="layui-input-inline">
					<input type="text" class="layui-input newsAuthor" lay-verify="required" placeholder="请输入文章作者"/>
				</div>
			</div>
			<div class="layui-inline">		
				<label class="layui-form-label">发布时间</label>
				<div class="layui-input-inline">
					<input type="text" class="layui-input newsTime" lay-verify="required" id="test5" placeholder="yyyy-MM-dd HH:mm:ss"/>
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">浏览权限</label>
				<div class="layui-input-inline">
					<select name="browseLook" class="newsLook" lay-filter="browseLook">
				        <option value="0">开放浏览</option>
				        <option value="1">会员浏览</option>
				    </select>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">关键字</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" placeholder="请输入文章关键字" id="keyWord" lay-verify="required"/>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">内容摘要</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入内容摘要" class="layui-textarea" id="head" lay-verify="required"></textarea>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">活动内容</label>
			<div class="layui-input-block">
				<textarea  class="layui-textarea" name="content" lay-verify="content" id="news_content"></textarea>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="addNews">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="../layui.js"></script>
	<script type="text/javascript" src="../js/newsAdd.js"></script>
	<script>
	layui.use('laydate', function(){
		  var laydate = layui.laydate;
		  
		  //日期时间选择器
		  laydate.render({
		    elem: '#test5'
		    ,type: 'datetime'
		  });

		});
	</script>
</body>
</html>